<!-- 页脚导航 -->
<template>
  <div class="footer-nav">
    <div class="footer-box">
      <div class="zhedang-box">
        <div class="left-box">
          <div></div>
        </div>
        <div class="right-box">
          <div></div>
        </div>
      </div>
      <div class="neirong-box">
        <div class="neirong">
          <div class="foot-neirong-left">
            <span @click="herfto('agents')" style="cursor: pointer">联系我们</span>
            <div class="line"></div>
            <ul>
              <li><a href="https://twitter.com/oxford_int" class="erweima">
                <i class="iconfont wx">&#xe63f;</i>
                <img src="../../assets/weixin.jpg" alt="" class="erweimapic">
              </a></li>
              <li><a href="https://www.facebook.com/oxfordinternationaleducationgroup" class="erweima">
                <img src="../../assets/weibo.jpg" alt="" class="erweimapic"><i class="iconfont wb">&#xe608;</i></a></li>
              <li><a href="https://uk.linkedin.com/company/oxford-international-education-group" class="erweima">
                <img src="../../assets/zhihu.jpg" alt="" class="erweimapic"><i class="iconfont zh">&#xe69a;</i></a></li>
              <li><a href="mailto:info@oxfordinternational.com"><i class="iconfont">&#xe63e;</i></a></li>
            </ul>
          </div>
          <div class="foot-neirong-mid">
            <div></div>
            <a href="">

<!--              Site by Social Panda-->

            </a>
          </div>
          <div class="foot-neirong-right">
            <span><strong>牛津国际教育集团</strong></span>
            <span>地址：259 Greenwich High Road, Greenwich, London；邮编：SE10 8NB</span>
            <span>邮箱：<a href="mailto:info@oxfordinternational.com">info@oxfordinternational.com</a></span>
            <span>电话：+44 020 8293 1188</span>
            <span>© 牛津国际教育集团 2020 <span style="margin: 0 20px">浙ICP备12002384号-4 浙公网安备</span><span @click="mapTo" style="cursor: pointer">网站地图</span></span>
          </div>
        </div>
      </div>

    </div>

  </div>
</template>


<script>
let navList = [
  ['网站首页','资产交易','信息披露','会员服务','政策法规','关于我们'],
  ['index','propsTrade','info','vip','law','about']
]

export default {
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  methods: {
    navClick(e) {
      let index = navList[0].indexOf(e.target.innerText)
      if (index !== -1) {
        this.herfto(navList[1][index])
      }
    },
    herfto(name) {
      this.$router.push(`/${name}`)
    },
    mapTo(){
      this.$router.push('map')
    }
  },
  created() {},
  mounted() {}
}
</script>


<style lang='less' scoped>
  @font-face {
    font-family: 'iconfont';  /* project id 2160786 */
    src: url('//at.alicdn.com/t/font_2160786_c9g5lfro17.eot');
    src: url('//at.alicdn.com/t/font_2160786_c9g5lfro17.eot?#iefix') format('embedded-opentype'),
    url('//at.alicdn.com/t/font_2160786_c9g5lfro17.woff2') format('woff2'),
    url('//at.alicdn.com/t/font_2160786_c9g5lfro17.woff') format('woff'),
    url('//at.alicdn.com/t/font_2160786_c9g5lfro17.ttf') format('truetype'),
    url('//at.alicdn.com/t/font_2160786_c9g5lfro17.svg#iconfont') format('svg');
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
.footer-nav{
  margin-top: -60px;
  /*background: #303030;*/

}
  .zhedang-box{
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    div{
      flex: 1;
    }
  }
  .footer-box{
    /*width: 1280px;*/
    margin: 0 auto;
  }
  .left-box{
    width: 50%;
    padding-right: 60px;
    div{
      height: 100%;
      background: #303030;
      position: relative;
    }
    div:before{
      content: '';
      position: absolute;
      width: 85px;
      height: 85px;
      top: 18px;
      right: -42px;
      background: #303030;
      transform: rotate(45deg);
    }
  }
.right-box{
  width: 50%;
  padding-left: 60px;
  div{
    height: 100%;
    background: #303030;
    position: relative;
  }
  div:before{
    content: '';
    position: absolute;
    width: 85px;
    height: 85px;
    top: 18px;
    left: -42px;
    background: #303030;
    transform: rotate(45deg);
  }
}

.neirong-box{
  background: #303030;
border-bottom: 10px solid #3281c4;
  padding-bottom: 40px;
}
  .neirong{
    width: 1325px;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .foot-neirong-left{
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    span{
      display: block;
      color: #fff;
      font-weight: 700;
      font-size: 25px;
      margin-bottom: 32px;
      padding-bottom: 15px;
      position: relative;
      line-height: 4rem;
    }
    span:after{
      position: absolute;
      content: '';
      width: 52px;
      height: 5px;
      background: #fff;
      left: 50%;
      margin-left: -26px;
      bottom: 0;
    }
    ul{
      margin-top: 10px;
      display: flex;
      flex-direction: row;
      justify-content: center;
      li{

        cursor: pointer;
        margin: 0 10px;
        a{
          text-decoration: none;color: #fff;
          .iconfont{
            font-size: 30px;
          }
        }

      }
      li:hover{
        a{
          color: #3281c4;
        }

      }
    }

  }
  .foot-neirong-mid{
    /*margin:0 80px;*/
    position: absolute;
    padding-top: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    div{
      height: 80px;
      width: 1px;
      border-left: 1px solid #fff;
      margin-bottom: 40px;
    }
    align-items: center;
    a{
      text-decoration: none;
      color: #fff;
    }
  }
  .foot-neirong-right{
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    span{
      margin-bottom: 20px;
      color: #fff;
      font-weight: 200;
      strong{
        font-weight: 700;
      }
      font-size: 14px;
      a{
        color: #fff;
        text-decoration: none;
      }
    }
  }
  @media screen and ( max-width: 1325px ){
    .neirong{
      width: 100% !important;
    }
  }
  @media screen and ( max-width: 768px ){
    .neirong{
      width: 100% !important;
      display: flex;
      flex-direction: column !important;
      align-items: center;
    }
    .foot-neirong-mid{
      display: none;
    }
    .foot-neirong-left{
      margin-top: 30px;
      ul{
        margin-top: 15px;
      }
      margin-bottom: 20px;
    }
  }

  .erweima{
    position: relative;
  }
  .erweima:hover{
    .erweimapic{
      display: block;
    }
  }
  .erweimapic{
    display: none;
    width: 100px;
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);

  }
</style>
